<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${webUser.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户账号：</label>
                            <div class="input-group col-sm-8">
                                <label th:text="${webUser.userAccount}"
                                       class="label label-default"></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户姓名：</label>
                            <div class="input-group col-sm-8">
                                <input id="userName" name="userName" th:value="${webUser.userName}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">手机：</label>
                            <div class="input-group col-sm-8">
                                <input id="mobile" name="mobile" th:value="${webUser.mobile}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">传真：</label>
                            <div class="input-group col-sm-8">
                                <input id="faxs" name="faxs" th:value="${webUser.faxs}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">区号：</label>
                            <div class="input-group col-sm-8">
                                <input id="districtCode" name="districtCode" th:value="${webUser.districtCode}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">电话：</label>
                            <div class="input-group col-sm-8">
                                <input id="telephone" name="telephone" th:value="${webUser.telephone}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">地址：</label>
                            <div class="input-group col-sm-8">
                                <input id="address" name="address" th:value="${webUser.address}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">邮件：</label>
                            <div class="input-group col-sm-8">
                                <input id="email" name="email" th:value="${webUser.email}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">公司：</label>
                            <div class="input-group col-sm-8">
                                <input id="company" name="company" th:value="${webUser.company}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">网址：</label>
                            <div class="input-group col-sm-8">
                                <input id="webSite" name="webSite" th:value="${webUser.webSite}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">公司简介：</label>
                            <div class="input-group col-sm-8">
                                <textarea id="companyDesc" name="companyDesc" th:text="${webUser.companyDesc}"
                                          class="form-control" type="text"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">qq：</label>
                            <div class="input-group col-sm-8">
                                <input id="qq" name="qq" th:value="${webUser.qq}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">会员等级：</label>
                            <div class="input-group col-sm-8">
                                <input id="memberLevel" name="memberLevel" th:value="${webUser.memberLevel}"
                                       class="form-control" type="number">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">会员类型：</label>
                            <div class="input-group col-sm-8">
                                <label class="radio-inline">
                                    <input type="radio" name="memberType" th:field="*{webUser.memberType}" checked="checked" value="1"/> 买家
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="memberType" th:field="*{webUser.memberType}"  value="2"/> 卖家
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="memberType" th:field="*{webUser.memberType}"  value="3"/> 买家和卖家
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">续费截止日期：</label>
                            <div  id="jiaofeeEndTime"  class="input-group date col-sm-8">
                                <input  name="jiaofeeEndTime" readonly="readonly" class="form-control" th:value="${webUser.jiaofeeEndTime==null?webUser.jiaofeeEndTime:#dates.format(webUser.jiaofeeEndTime, 'yyyy-MM-dd')}" type="text" />
                                <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
                                <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户状态：</label>
                            <div class="input-group col-sm-8">
                                <label class="radio-inline">
                                    <input type="radio" name="status"  th:field="*{webUser.status}"  checked="checked" value="1"/> 正常
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="status" th:field="*{webUser.status}"  value="2"/> 续费到期
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">是否推荐：</label>
                            <div class="input-group col-sm-8">
                                <label class="radio-inline">
                                    <input type="radio" name="recommendSign"  th:field="*{webUser.recommendSign}"  checked="checked" value="1"/> 推荐
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="recommendSign"  th:field="*{webUser.recommendSign}"  value="0"/> 不推荐
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="input-group  col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/sys/webUser/edit.js">
</script>
</body>
</html>
